package org.zhao.Share;

/**
 * @classname:SharedBike
 * @description:
 * @author: Mr.Z
 * @date: 2020/11/29 20:43
 * @version: 0.1
 * @since:1.8
 */

public class SharedBike {
    private Integer bid;//单车编号
    private String bname;//单车名称-->ofo 哈罗 摩拜
    private Integer status;//单车状态-->0已经借出 1可借状态
    private String borrowTime;//单车借出时间
    public SharedBike() {
    }
    public SharedBike(Integer bid, String bname, Integer status, String borrowTime) {
        this.bid = bid;
        this.bname = bname;
        this.status = status;
        this.borrowTime = borrowTime;
    }

    public Integer getBid() {
        return bid;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }

    public String getBname() {
        return bname;
    }

    public void setBname(String bname) {
        this.bname = bname;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getBorrowTime() {
        return borrowTime;
    }

    public void setBorrowTime(String borrowTime) {
        this.borrowTime = borrowTime;
    }

    @Override
    public String toString() {
        return "SharedBike{" +
                "bid=" + bid +
                ", bname='" + bname + '\'' +
                ", status=" + status +
                ", borrowTime='" + borrowTime + '\'' +
                '}';
    }
}
